﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            List<List<string>> listall = new List<List<string>>();
            for (var i = 1; i <= 10; i++)
            {
                var list = new List<string>();
                for (var j = 1; j <= 10; j++) 
                {
                    list.Add(i + " " + j);
                    

                }
                listall.Add(list);
            }
            var listresult = listall.Aggregate((x, y) => { x.AddRange(y);return x; });
            foreach (var item in listresult) 
            {
                Console.WriteLine(item);
            }
            Console.ReadLine();
        }
    }



}
